package com.ysd.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Product {
	private Integer id;
	private Integer prodId;
	private String ProductName;
	private Integer CategoryId;
	private BigDecimal unitPrice;
	private BigDecimal discountPrice;
	private String canUse;
	private String store;
	private String img;
	private String color;
	private String size;
	private Integer weight;
	private Date saleTime;
	private String brand;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getProdId() {
		return prodId;
	}
	public void setProdId(Integer prodId) {
		this.prodId = prodId;
	}
	public String getProductName() {
		return ProductName;
	}
	public void setProductName(String productName) {
		ProductName = productName;
	}
	public Integer getCategoryId() {
		return CategoryId;
	}
	public void setCategoryId(Integer categoryId) {
		CategoryId = categoryId;
	}
	public BigDecimal getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}
	public BigDecimal getDiscountPrice() {
		return discountPrice;
	}
	public void setDiscountPrice(BigDecimal discountPrice) {
		this.discountPrice = discountPrice;
	}
	public String getCanUse() {
		return canUse;
	}
	public void setCanUse(String canUse) {
		this.canUse = canUse;
	}
	public String getStore() {
		return store;
	}
	public void setStore(String store) {
		this.store = store;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public Integer getWeight() {
		return weight;
	}
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
	public Date getSaleTime() {
		return saleTime;
	}
	public void setSaleTime(Date saleTime) {
		this.saleTime = saleTime;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public Product(Integer id, Integer prodId, String productName, Integer categoryId, BigDecimal unitPrice,
			BigDecimal discountPrice, String canUse, String store, String img, String color, String size,
			Integer weight, Date saleTime, String brand) {
		super();
		this.id = id;
		this.prodId = prodId;
		ProductName = productName;
		CategoryId = categoryId;
		this.unitPrice = unitPrice;
		this.discountPrice = discountPrice;
		this.canUse = canUse;
		this.store = store;
		this.img = img;
		this.color = color;
		this.size = size;
		this.weight = weight;
		this.saleTime = saleTime;
		this.brand = brand;
	}
	public Product() {
		super();
	}
	@Override
	public String toString() {
		return "Product [id=" + id + ", prodId=" + prodId + ", ProductName=" + ProductName + ", CategoryId="
				+ CategoryId + ", unitPrice=" + unitPrice + ", discountPrice=" + discountPrice + ", canUse=" + canUse
				+ ", store=" + store + ", img=" + img + ", color=" + color + ", size=" + size + ", weight=" + weight
				+ ", saleTime=" + saleTime + ", brand=" + brand + "]";
	}
	
	
}
